package com.sany.taskmanager.global;

public class Constants {

    /**
     * 错误码
     */
    public static final class ErrorCode {
        /**
         * token过期
         */
        public static final int CODE_TOKEN_EXPIRED = 10000;
        /**
         * token错误
         */
        public static final int CODE_TOKEN_ERROR = 10001;
        /**
         * token为空
         */
        public static final int CODE_TOKEN_EMPTY = 10002;
    }

    /**
     * 跳转到扫码页面之前的Activity Index
     */
    public static final class ScanIndex {
        public static final int ACTIVITY_MAIN = 1;
        public static final int ACTIVITY_TASK = 2;
    }
}
